package java10;

import java.util.Scanner;

public class InitialPhone {
	public static void main(String[] args) {
		Phone v=new Phone();
		Scanner input=new Scanner(System.in);
		System.out.println("请输入手机的品牌");
		v.brand=input.next();
		System.out.println("请输入手机的价格");
		v.money=input.nextDouble();
		System.out.println("请输入手机的颜色");
		v.colour=input.next();
		System.out.println("请输入手机的号码");
		v.nums=input.next();
		System.out.println("请输入手机的操作系统");
		v.system=input.next();
		System.out.println("是否为智能手机(y/n)");
		if("y".equals(input.next())){
			v.isIntelligence=true;
		}else{
			v.isIntelligence=false;
		}
		v.show();
		System.out.println("请选择操作1~11");
		v.i=input.nextInt();
		v.showFunction();
	}
}
